<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>开始考试</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(to right, #6a11cb, #2575fc);
            font-family: Arial, sans-serif;
        }

        .exam-container {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            padding: 30px;
            width: 450px;
        }

        .exam-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .exam-header h1 {
            font-size: 24px;
            margin-bottom: 8px;
        }

        .exam-header p {
            font-size: 14px;
            color: #666;
        }

        .exam-info {
            background-color: #f5f7fa;
            border-radius: 4px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .exam-info h2 {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .exam-info p {
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .exam-meta {
            font-size: 12px;
            color: #888;
        }

        .exam-form .form-group {
            margin-bottom: 15px;
        }

        .exam-form label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .exam-form input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }

        .exam-form button {
            width: 100%;
            padding: 10px;
            background-color: #2575fc;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .exam-rules {
            background-color: #fff9e6;
            border-radius: 4px;
            padding: 15px;
            margin-top: 20px;
        }

        .exam-rules h3 {
            font-size: 14px;
            margin-bottom: 10px;
            color: #e67e22;
        }

        .exam-rules ul {
            padding-left: 20px;
            margin: 0;
        }

        .exam-rules li {
            font-size: 13px;
            margin-bottom: 5px;
        }
    </style>
</head>

<body>
    <div class="exam-container">
        <div class="exam-header">
            <h1>开始考试</h1>
            <p>请填写您的信息开始考试</p>
        </div>
        <div class="exam-info">
            <h2>尚硅谷编程联盟星球第一期《计算机科学导论》测试卷</h2>
            <p>请仔细阅读! 1.考试填写的名称必须是星球内名称, 方便统计分数! 2.考试结束后, 下载成绩单, 然后发送给星球小助理微信! 知识星球半年黑皮书学习打卡活动考试测试卷! 主要内容计算机科学导论前十章节,
                包含单选, 多选, 判断和简答题!</p>
            <div class="exam-meta">
                题目数量:33 道 &nbsp;&nbsp; 总分:110 分 &nbsp;&nbsp; 考试时长:40 分钟
            </div>
        </div>
        <form class="exam-form">
            <div class="form-group">
                <label for="studentName">考生姓名 <span style="color: red;">*</span></label>
                <input type="text" id="studentName" placeholder="请输入您的姓名" maxlength="20">
            </div>
            <button type="button">开始考试</button>
        </form>
        <div class="exam-rules">
            <h3>考试规则</h3>
            <ul>
                <li>请确保网络连接稳定</li>
                <li>考试过程中请勿切换窗口或刷新页面</li>
                <li>考试时间到后将自动交卷</li>
                <li>提交后将无法修改答案</li>
            </ul>
        </div>
    </div>
</body>

</html>